<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>众秀众筹-众筹项目-影视众筹，股权众筹项目展示</title>
	<meta name="Keywords" content="众筹项目" />
	<meta name="Description" content="查看各家众筹平台的影视众筹，实体店铺，股权众筹项目" />
	<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
	<meta name="renderer" content="webkit"/>
	<link rel="stylesheet" href="<%=path%>/css/bootstrap/3.3.5/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<%=path%>/css/cz.css" />

	<script src="<%=path%>/js/jquery-1.11.0.min.js"></script>

	<script src="<%=path%>/js/slider.js"></script>
	<script src="<%=path%>/js/common.js"></script>
<body class="gray-bg">
<jsp:include page="/views/commons/header.jsp"></jsp:include>
<div class="container page-single">
	<div class="col-md-12">
		<div class="panel panel-default">
			<div class="panel-body">
				<form id="project_choose_form" action="javascript:void(0)">
				<div class="filter-wrap">
					<d:radio describe="项目类型" tableColumn="platform_type" fieldName="platformType" 
						value="${paramMap.platformType}" type="query" queryFunction="queryProjectList"></d:radio>
					<dl class="clearfix invest-filter">
						<dt>项目名</dt>
						<dd class="clearfix">
							<div class="col-sm-4 mb20">
								<div class="input-group">
									<input type="text" name="projectName" value="${paramMap.projectName}" class="form-control" placeholder="请输入项目名关键词">
									<span class="input-group-btn">
										<button class="btn btn-primary" type="button" onclick="queryProjectList(1)">搜索</button>
									</span>
								</div>
							</div>
						</dd>
					</dl>
				</div>
				</form>
			</div>
		</div>
		<div id="project_list_div"></div>
	</div>
</div>
<jsp:include page="/views/commons/footer.jsp"></jsp:include>
</body>
<script type="text/javascript">
$(function(){
	$('.getdata').click(function(event) {
		//iframe窗
		layer.open({
			type: 2,
			title: '折解数据',
			shadeClose: true,
			shade: 0.8,
			area: ['580px','auto'],
			content: 'dismantling_Data.html', 		
		});
	});
})

$(document).ready(function(){
	queryProjectList(1);
});

function queryProjectList(pageNo){	
	
	var queryData=$("#project_choose_form").serialize();
	
	if(queryData==null||queryData==""){
		queryData="pageNo="+pageNo;
	}else{
		queryData=queryData+"&pageNo="+pageNo;
	}
	
	$.ajax({
		url : path + "/uncheck/project/list",
		type : "get",
		dataType : "html",
		contentType: "application/x-www-form-urlencoded; charset=utf-8",
		data :queryData,
		success : function(data)
		{
			$("#project_list_div").html(data);
		},error:function(){
			layer.msg("服务器网络繁忙",{icon: 2});
		}
	});
}
</script>
</html>